﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace PlayDeezGames.Common
{
    public interface IEntity
    {
        IEntity ParentEntity { get; set; }
        IEnumerable<IEntity> Children { get; }
        bool AddChild(IEntity theChild);
        bool RemoveChild(IEntity theChild);
        XElement ToXElement();
        void FromXElement(XElement theXElement);
    }
}
